package com.sgcc.operate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 运营指标定义对象 o_indi_defi
 * 
 * @author sgcc
 * @date 2021-03-23
 */
public class OIndiDefi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指标定义ID */

    private String id;

    /** 指标编号 */
    @Excel(name = "指标编号")
    private String indino;

    /** 指标主题 */
    @Excel(name = "*指标主题")
    private String inditopic;

    /** 指标分类 */
    @Excel(name = "*指标分类")
    private String inditype;

    /** 指标名称 */
    @Excel(name = "*指标名称")
    private String indiname;

    /** 发布周期 */
    @Excel(name = "*发布周期")
    private String relcycle;

    /** 计算公式 */
    @Excel(name = "计算公式")
    private String calform;

    /** 更新频率 */
    @Excel(name = "更新频率")
    private String updatefrq;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String meteunit;

    /** 数据精度 */
    @Excel(name = "数据精度")
    private String dataaccu;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String datasour;

    /** 指标说明 */
    @Excel(name = "指标说明")
    private String indidesc;

    /** 维护人 */
    @Excel(name = "维护人")
    private String modifyemp;

    /** 维护时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "维护时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date modifytime;

    /** 维护人单位 */
//    @Excel(name = "维护人单位")
    private String modifyorg;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "维护人单位", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "维护人单位", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date updateDate;

    /** $column.columnComment */
//    @Excel(name = "维护人单位")
    private String delFlag;

    private String deptName;

    private String deptId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setIndino(String indino) 
    {
        this.indino = indino;
    }

    public String getIndino() 
    {
        return indino;
    }
    public void setInditopic(String inditopic) 
    {
        this.inditopic = inditopic;
    }

    public String getInditopic() 
    {
        return inditopic;
    }
    public void setInditype(String inditype) 
    {
        this.inditype = inditype;
    }

    public String getInditype() 
    {
        return inditype;
    }
    public void setIndiname(String indiname) 
    {
        this.indiname = indiname;
    }

    public String getIndiname() 
    {
        return indiname;
    }
    public void setRelcycle(String relcycle) 
    {
        this.relcycle = relcycle;
    }

    public String getRelcycle() 
    {
        return relcycle;
    }
    public void setCalform(String calform) 
    {
        this.calform = calform;
    }

    public String getCalform() 
    {
        return calform;
    }
    public void setUpdatefrq(String updatefrq) 
    {
        this.updatefrq = updatefrq;
    }

    public String getUpdatefrq() 
    {
        return updatefrq;
    }
    public void setMeteunit(String meteunit) 
    {
        this.meteunit = meteunit;
    }

    public String getMeteunit() 
    {
        return meteunit;
    }
    public void setDataaccu(String dataaccu) 
    {
        this.dataaccu = dataaccu;
    }

    public String getDataaccu() 
    {
        return dataaccu;
    }
    public void setDatasour(String datasour) 
    {
        this.datasour = datasour;
    }

    public String getDatasour() 
    {
        return datasour;
    }
    public void setIndidesc(String indidesc) 
    {
        this.indidesc = indidesc;
    }

    public String getIndidesc() 
    {
        return indidesc;
    }
    public void setModifyemp(String modifyemp) 
    {
        this.modifyemp = modifyemp;
    }

    public String getModifyemp() 
    {
        return modifyemp;
    }
    public void setModifytime(Date modifytime) 
    {
        this.modifytime = modifytime;
    }

    public Date getModifytime() 
    {
        return modifytime;
    }
    public void setModifyorg(String modifyorg) 
    {
        this.modifyorg = modifyorg;
    }

    public String getModifyorg() 
    {
        return modifyorg;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("indino", getIndino())
            .append("inditopic", getInditopic())
            .append("inditype", getInditype())
            .append("indiname", getIndiname())
            .append("relcycle", getRelcycle())
            .append("calform", getCalform())
            .append("updatefrq", getUpdatefrq())
            .append("meteunit", getMeteunit())
            .append("dataaccu", getDataaccu())
            .append("datasour", getDatasour())
            .append("indidesc", getIndidesc())
            .append("modifyemp", getModifyemp())
            .append("modifytime", getModifytime())
            .append("modifyorg", getModifyorg())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
